mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-22 03:45:10 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user