Fix item duping issue reported by someone

This commit is contained in:
sandtechnology committed 2021-08-12 13:42:26 +08:00
1 parent c87c5f5ffd
commit 58df110d5c
1 file changed
+1
@@ -208,6 +208,7 @@ public class RealDisplayItem extends DisplayItem {
}
item.setPickupDelay(Integer.MAX_VALUE);
item.setSilent(true);
item.setInvulnerable(true);
item.setPortalCooldown(Integer.MAX_VALUE);
item.setVelocity(new Vector(0, 0.1, 0));
}