mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Do a proper check if a mana blaster has a lens when returning if it should have a container item. Closes #469 Azanor/thaumcraft#1459
This commit is contained in:
1 parent
e2dd832bc0
commit
51e2aa796c
1 file changed
+1
-1
@@ -141,7 +141,7 @@ public class ItemManaGun extends ItemMod implements IManaUsingItem {
|
||||
|
||||
@Override
|
||||
public boolean hasContainerItem(ItemStack stack) {
|
||||
return true;
|
||||
return getLens(itemStack) != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user