forked from MagicBane/Server
Refactor isTwoHanded()
This commit is contained in:
@@ -235,7 +235,7 @@ public class ItemFactory {
|
||||
case "Hammer":
|
||||
case "Unarmed Combat":
|
||||
|
||||
if (ib.isTwoHanded())
|
||||
if (ItemTemplate.isTwoHanded(template))
|
||||
galvorAmount = 20;
|
||||
else
|
||||
galvorAmount = 10;
|
||||
@@ -829,7 +829,7 @@ public class ItemFactory {
|
||||
case "Hammer":
|
||||
case "Unarmed Combat":
|
||||
|
||||
if (ib.isTwoHanded())
|
||||
if (ItemTemplate.isTwoHanded(template))
|
||||
galvorAmount = 22;
|
||||
else
|
||||
galvorAmount = 11;
|
||||
|
||||
Reference in New Issue
Block a user