geforkt von Mirrors/Paper
Don't call super update on unplaced command block metas
Dieser Commit ist enthalten in:
Ursprung
962ffda1a8
Commit
eac85911f0
@ -44,7 +44,7 @@ public class CraftCommandBlock extends CraftBlockState implements CommandBlock {
|
||||
}
|
||||
|
||||
public boolean update(boolean force, boolean applyPhysics) {
|
||||
boolean result = super.update(force, applyPhysics);
|
||||
boolean result = (isPlaced()) ? super.update(force, applyPhysics) : true;
|
||||
|
||||
if (result) {
|
||||
commandBlock.getCommandBlock().setCommand(command);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren