mirror of
https://github.com/GTNewHorizons/Avaritia.git
synced 2026-11-22 05:02:18 +00:00
1 parent
78e9a65ff2
commit
01a8fbf06f
1 file changed
+6
-4
@@ -28,10 +28,12 @@ public class ItemAkashicRecord extends Item {
|
||||
Thaumcraft.proxy.playerKnowledge.addAspectPool(player.getCommandSenderName(), aspect, (short) 999);
|
||||
PacketHandler.INSTANCE.sendTo(new PacketAspectPool(aspect.getTag(), (short)999, Short.valueOf(Thaumcraft.proxy.playerKnowledge.getAspectPoolFor(player.getCommandSenderName(), aspect))), (EntityPlayerMP) player);
|
||||
}
|
||||
if(--stack.stackSize <= 0)
|
||||
return null;
|
||||
else
|
||||
return stack;
|
||||
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
{
|
||||
--stack.stackSize;
|
||||
}
|
||||
return stack;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user