1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-29 16:47:56 +00:00

Fixed turtle ability to place signs with text.

This commit is contained in:
David Queneau
2021-03-05 22:47:04 -08:00
committed by David Queneau
parent 6cd9fa9fb2
commit 1b31972092

View File

@@ -295,7 +295,7 @@ public class TurtlePlaceCommand implements ITurtleCommand {
BlockEntity existingTile = turtle.getWorld()
.getBlockEntity(position);
if (stackCopy.useOnBlock(context) == ActionResult.SUCCESS) {
if (stackCopy.useOnBlock(context).isAccepted()) {
placed = true;
turtlePlayer.loadInventory(stackCopy);
}