mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-04 21:29:13 +00:00
Clear the turtle's inventory on load
This commit is contained in:
parent
000786a1a7
commit
7e18f2cead
@ -68,6 +68,8 @@ public class TurtlePlayer extends FakePlayer
|
|||||||
|
|
||||||
rotationYaw = turtle.getDirection().getHorizontalAngle();
|
rotationYaw = turtle.getDirection().getHorizontalAngle();
|
||||||
rotationPitch = 0.0f;
|
rotationPitch = 0.0f;
|
||||||
|
|
||||||
|
inventory.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static TurtlePlayer get( ITurtleAccess access )
|
public static TurtlePlayer get( ITurtleAccess access )
|
||||||
|
Loading…
Reference in New Issue
Block a user