Disable physics update when blocking the end dragon (#723)

This commit is contained in:
BONNe 2019-06-02 14:31:48 +03:00 committed by Florian CUNY
parent 9b0575246c
commit 2d8b9ad628

View File

@ -41,7 +41,7 @@ public class BlockEndDragon implements Listener {
}
// Setting a End Portal at the top will trick dragon legacy check.
e.getChunk().getBlock(0, 255, 0).setType(Material.END_PORTAL);
e.getChunk().getBlock(0, 255, 0).setType(Material.END_PORTAL, false);
}
/**