Implement a new item drops system (#2112)

* 1

* Delete .gitattributes

* implement

* Update PacketDropHintNotify.java

* Update PacketWorldChestOpenNotify.java

* Update FileUtils.java

* Update PacketDropHintNotify.java

* Update WorldDataSystem.java

---------

Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
This commit is contained in:
dragon
2023-04-14 10:28:54 +08:00
committed by GitHub
parent eda5e8c5e0
commit f71b29c00a
21 changed files with 590 additions and 131 deletions

View File

@@ -142,7 +142,7 @@ public class Inventory extends BasePlayerManager implements Iterable<GameItem> {
if (item.getItemId() == 0) continue;
GameItem result = null;
try {
// putItem might throws exception
// putItem might throw exception
// ignore that exception and continue
result = putItem(item);
} catch (Exception e) {