1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-26 07:03:22 +00:00

Clear the turtle's inventory on load

This commit is contained in:
SquidDev 2018-07-09 18:22:42 +01:00
parent 000786a1a7
commit 7e18f2cead

View File

@ -68,6 +68,8 @@ private void setState( ITurtleAccess turtle )
rotationYaw = turtle.getDirection().getHorizontalAngle();
rotationPitch = 0.0f;
inventory.clear();
}
public static TurtlePlayer get( ITurtleAccess access )