1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-30 09:07:55 +00:00
This commit is contained in:
Devan-Kerman
2020-09-09 09:35:27 -05:00
parent 0bf1672f45
commit 0c45112262

View File

@@ -228,7 +228,7 @@ public class TurtlePlaceCommand implements ITurtleCommand {
cancelResult = hitEntity.interactAt(turtlePlayer, hitPos, Hand.MAIN_HAND); cancelResult = hitEntity.interactAt(turtlePlayer, hitPos, Hand.MAIN_HAND);
} }
if (cancelResult.isAccepted()) { if (cancelResult != null && cancelResult.isAccepted()) {
placed = true; placed = true;
} else { } else {
// See EntityPlayer.interactOn // See EntityPlayer.interactOn