Single class IdFactory with synchronized static methods.

This commit is contained in:
MobiusDevelopment
2020-02-08 14:34:00 +00:00
parent 29771aa0d8
commit a534cc943c
497 changed files with 4701 additions and 10894 deletions

View File

@@ -225,7 +225,7 @@ public class Loto implements IBypassHandler
sm.addItemName(4442);
player.sendPacket(sm);
final ItemInstance item = new ItemInstance(IdFactory.getInstance().getNextId(), 4442);
final ItemInstance item = new ItemInstance(IdFactory.getNextId(), 4442);
item.setCount(1);
item.setCustomType1(lotonumber);
item.setEnchantLevel(enchant);