1
0
cuberite-2a/Server/Plugins
Alexander Harkness cdc452916e
Replace buckets to the selected hotbar slot, rather than the first available. (#4580)
* Replace buckets to the selected hotbar slot, rather than the first available.

Replicates vanilla behaviour, as well as being more logical.

* Refactor cInventory::AddItem. Behaviour is now documented

* Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods

* Return empty potion to the same slot after drinking

* Replace buckets correctly in other situations, not simply water and lava

Uses the new ReplaceOneEquippedItem method

* Correct collecting water from source block with bottle

* Add cPlayer::ReplaceOneEquippedItemTossRest method

* Handle stacked filled buckets (in theory)

Use new cPlayer::ReplaceOneEquippedItemTossRest method
2020-04-02 12:42:15 +00:00
..
APIDump Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
ChatLog@cc04da381b Updated plugins with the rename to Cuberite. 2016-01-01 21:40:18 +01:00
Core@84c82cca09 Update Core 2020-03-26 17:11:13 +00:00
Debuggers Added a /boom command to Debuggers. (#4592) 2020-03-31 11:25:44 +00:00
DumpInfo Updated DumpInfo plugin 2015-11-29 17:28:02 +01:00
HookNotify Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
NetworkTest Renamed leftover strings to Cuberite / Server, as needed. 2016-01-01 21:05:09 +01:00
ProtectionAreas@5cc1171bb1 Update ProtectionAreas 2020-02-27 19:45:38 +02:00
TestLuaRocks Update TestLuaRocks.lua (#3903) 2017-08-13 12:29:24 +01:00
.gitignore Update .gitignore; new files added to APIDump are no longer ignored 2020-03-23 12:37:11 +00:00
InfoDump.lua Minor changes (#3909) 2017-08-24 11:19:40 +02:00
InfoReg.lua Corrected check for level of subcommand and fixed multiple levels not working (#3758) 2017-06-12 12:59:46 +02:00