geforkt von Mirrors/FastAsyncWorldEdit
Fixes LongRangeBuildTool tool (#1005)
Dieser Commit ist enthalten in:
Ursprung
b96cea75b8
Commit
e40d3e3c19
@ -63,7 +63,6 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo
|
|||||||
|
|
||||||
try (EditSession editSession = session.createEditSession(player, "LongRangeBuildTool")) {
|
try (EditSession editSession = session.createEditSession(player, "LongRangeBuildTool")) {
|
||||||
try {
|
try {
|
||||||
editSession.disableBuffering();
|
|
||||||
BlockVector3 blockPoint = pos.toVector().toBlockPoint();
|
BlockVector3 blockPoint = pos.toVector().toBlockPoint();
|
||||||
BaseBlock applied = secondary.apply(blockPoint);
|
BaseBlock applied = secondary.apply(blockPoint);
|
||||||
if (applied.getBlockType().getMaterial().isAir()) {
|
if (applied.getBlockType().getMaterial().isAir()) {
|
||||||
@ -93,7 +92,6 @@ public class LongRangeBuildTool extends BrushTool implements DoubleActionTraceTo
|
|||||||
|
|
||||||
try (EditSession editSession = session.createEditSession(player, "LongRangeBuildTool")) {
|
try (EditSession editSession = session.createEditSession(player, "LongRangeBuildTool")) {
|
||||||
try {
|
try {
|
||||||
editSession.disableBuffering();
|
|
||||||
BlockVector3 blockPoint = pos.toVector().toBlockPoint();
|
BlockVector3 blockPoint = pos.toVector().toBlockPoint();
|
||||||
BaseBlock applied = primary.apply(blockPoint);
|
BaseBlock applied = primary.apply(blockPoint);
|
||||||
if (applied.getBlockType().getMaterial().isAir()) {
|
if (applied.getBlockType().getMaterial().isAir()) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren