diff options
author | madmaxoft <github@xoft.cz> | 2013-09-09 11:13:14 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-09-09 11:13:14 +0200 |
commit | 5945166a980a09b3fa2c267ba19334ba48ca9df4 (patch) | |
tree | 5b15d4c022834316e031e81931569fc7305be415 /source/Items/ItemHandler.cpp | |
parent | Removed the cDoors class. (diff) | |
parent | Fixed a bunch of stuff (diff) | |
download | cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.tar cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.tar.gz cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.tar.bz2 cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.tar.lz cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.tar.xz cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.tar.zst cuberite-5945166a980a09b3fa2c267ba19334ba48ca9df4.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: |