1
0
cuberite-2a/src/UI
Nate e7b552603f Handle the lapis slot separately (#4286)
This is my attempt to fix #4112. The root cause of the issue was that the lapis slot was treated exactly the same as the enchanting slot, so it on the server side it would only ever slot one item.

My fix is to check if its the second slot in the window, then check if it's lapis (it would slot whatever). If it is lapis I call the base click handler.
2018-08-17 09:08:06 +01:00
..
AnvilWindow.cpp Moved window code into cpp files 2015-03-10 19:40:53 +01:00
AnvilWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
BeaconWindow.cpp Removed double includes (#3885) 2017-08-02 19:57:20 +01:00
BeaconWindow.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
BrewingstandWindow.cpp Corrected brewingstand and added support for fuel 2017-05-08 06:30:54 +02:00
BrewingstandWindow.h Implemented brewing 2015-11-03 18:00:55 +01:00
ChestWindow.cpp Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
ChestWindow.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
CMakeLists.txt Add the fmt library (#4065) 2018-01-03 17:41:16 +00:00
CraftingWindow.cpp Moved window code into cpp files 2015-03-10 19:40:53 +01:00
CraftingWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
DropSpenserWindow.cpp Removed ClientHandle.h dependencies from common headers. 2016-11-18 20:00:04 +01:00
DropSpenserWindow.h More style checking. 2015-05-09 12:58:54 +02:00
EnchantingWindow.cpp CheckBasicStyle: Check number of empty lines between functions (#4267) 2018-07-26 22:24:36 +01:00
EnchantingWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
EnderChestWindow.cpp Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
EnderChestWindow.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
FurnaceWindow.cpp More style checking. 2015-05-09 12:58:54 +02:00
FurnaceWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
HopperWindow.cpp Removed ClientHandle.h dependencies from common headers. 2016-11-18 20:00:04 +01:00
HopperWindow.h Moved window code into cpp files 2015-03-10 19:40:53 +01:00
HorseWindow.cpp Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
HorseWindow.h Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
InventoryWindow.cpp Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) 2017-05-24 08:09:58 +02:00
InventoryWindow.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MinecartWithChestWindow.h Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959) 2017-09-19 15:12:54 +01:00
SlotArea.cpp Handle the lapis slot separately (#4286) 2018-08-17 09:08:06 +01:00
SlotArea.h Implement horse inventory (#4053) 2017-10-21 17:56:09 +01:00
Window.cpp A player's inventory is always opened by its owner. (#4176) 2018-01-28 17:24:59 +00:00
Window.h cWindow: Fix slot area priority when double click stacking. (#4086) 2018-01-15 11:35:27 +00:00
WindowOwner.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00