diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-08 01:14:57 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-08 01:14:57 +0200 |
commit | c789a8ddf5840cf7861c73536279da8bbd9281c3 (patch) | |
tree | b310df7724901b570d442039f196b073a1397fd3 /source/Items/ItemHandler.cpp | |
parent | Implemented SteerVehicle packet. (diff) | |
download | cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.tar cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.tar.gz cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.tar.bz2 cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.tar.lz cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.tar.xz cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.tar.zst cuberite-c789a8ddf5840cf7861c73536279da8bbd9281c3.zip |
Diffstat (limited to 'source/Items/ItemHandler.cpp')
-rw-r--r-- | source/Items/ItemHandler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Items/ItemHandler.cpp b/source/Items/ItemHandler.cpp index 2ae193d52..374d0ebf5 100644 --- a/source/Items/ItemHandler.cpp +++ b/source/Items/ItemHandler.cpp @@ -8,6 +8,7 @@ // Handlers: #include "ItemBed.h" +#include "ItemBoat.h" #include "ItemBow.h" #include "ItemBrewingStand.h" #include "ItemBucket.h" @@ -180,6 +181,11 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType) return new cItemMinecartHandler(a_ItemType); } + case E_ITEM_BOAT: + { + return new cItemBoatHandler(a_ItemType); + } + // Food: case E_ITEM_BREAD: case E_ITEM_COOKIE: |