mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-01 10:07:56 +00:00
Fixed turtle ability to place signs with text.
This commit is contained in:

committed by
David Queneau

parent
6cd9fa9fb2
commit
1b31972092
@@ -295,7 +295,7 @@ public class TurtlePlaceCommand implements ITurtleCommand {
|
|||||||
BlockEntity existingTile = turtle.getWorld()
|
BlockEntity existingTile = turtle.getWorld()
|
||||||
.getBlockEntity(position);
|
.getBlockEntity(position);
|
||||||
|
|
||||||
if (stackCopy.useOnBlock(context) == ActionResult.SUCCESS) {
|
if (stackCopy.useOnBlock(context).isAccepted()) {
|
||||||
placed = true;
|
placed = true;
|
||||||
turtlePlayer.loadInventory(stackCopy);
|
turtlePlayer.loadInventory(stackCopy);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user