mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-22 12:59:54 +00:00
Refactoring
This commit is contained in:
1 parent
fd330233dd
commit
56ccd3188d
76 files changed
+876
-433
No files matched your search
@@ -85,12 +85,12 @@ public class BlockTeleposer extends BlockContainer
|
||||
{
|
||||
SoulNetworkHandler.checkAndSetItemOwner(playerItem, player);
|
||||
|
||||
if (playerItem.stackTagCompound == null)
|
||||
if (playerItem.getTagCompound() == null)
|
||||
{
|
||||
playerItem.setTagCompound(new NBTTagCompound());
|
||||
}
|
||||
|
||||
NBTTagCompound itemTag = playerItem.stackTagCompound;
|
||||
NBTTagCompound itemTag = playerItem.getTagCompound();
|
||||
itemTag.setInteger("xCoord", x);
|
||||
itemTag.setInteger("yCoord", y);
|
||||
itemTag.setInteger("zCoord", z);
|
||||
|
||||
Reference in new issue
Block a user