|
|
@ -80,6 +80,11 @@ public class ItemBase { |
|
|
|
|
|
|
|
|
|
|
|
this.twoHanded = (rs.getInt("twoHanded") == 1); |
|
|
|
this.twoHanded = (rs.getInt("twoHanded") == 1); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ItemTemplate template = ItemTemplate.itemTemplates.get(this.getUUID()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (template == null) |
|
|
|
|
|
|
|
Logger.error(this.getUUID() + " null template"); |
|
|
|
|
|
|
|
else |
|
|
|
switch (ItemTemplate.itemTemplates.get(this.getUUID()).item_type) { |
|
|
|
switch (ItemTemplate.itemTemplates.get(this.getUUID()).item_type) { |
|
|
|
case RUNE: |
|
|
|
case RUNE: |
|
|
|
case SCROLL: |
|
|
|
case SCROLL: |
|
|
|