cdc452916e
* 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 |
||
---|---|---|
.. | ||
APIDump | ||
ChatLog@cc04da381b | ||
Core@84c82cca09 | ||
Debuggers | ||
DumpInfo | ||
HookNotify | ||
NetworkTest | ||
ProtectionAreas@5cc1171bb1 | ||
TestLuaRocks | ||
.gitignore | ||
InfoDump.lua | ||
InfoReg.lua |