mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 19:29:29 +00:00
Fix maintenance focus NPE (#63)
This commit is contained in:
1 parent
5053be782b
commit
78b68dec47
1 file changed
+1
@@ -46,6 +46,7 @@ public class ItemMaintenanceFocus extends ItemBaseFocus {
|
||||
@Override
|
||||
public ItemStack onFocusRightClick(ItemStack itemStack, World world, EntityPlayer player,
|
||||
MovingObjectPosition mop) {
|
||||
if (mop == null) return itemStack;
|
||||
|
||||
ItemWandCasting wand = (ItemWandCasting) itemStack.getItem();
|
||||
|
||||
|
||||
Reference in new issue
Block a user