Fixes #1701
This commit is contained in:
parent
81ffd52e9f
commit
d37e44e395
@ -215,6 +215,10 @@ public class FaweBukkit implements IFawe, Listener {
|
||||
Field URL = clazz.getDeclaredField("URL");
|
||||
ReflectionUtils.setFailsafeFieldValue(URL, null, null);
|
||||
} catch (NoSuchFieldError | IllegalAccessException ignore) {}
|
||||
catch (Throwable e) {
|
||||
Fawe.debug("Error linking metrics: " + instance);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
} catch (NoSuchFieldException ignored) { }
|
||||
});
|
||||
|
@ -2934,7 +2934,7 @@ public class EditSession extends AbstractWorld implements HasFaweQueue, Lighting
|
||||
int yv = (int) (y.getValue() * unit.getY() + zero2.getY());
|
||||
int zv = (int) (z.getValue() * unit.getZ() + zero2.getZ());
|
||||
// read block from world
|
||||
BaseBlock material = FaweCache.CACHE_BLOCK[queue.getCombinedId4DataDebug(xv, yv, zv, 0, EditSession.this)];
|
||||
BaseBlock material = getLazyBlock(xv, yv, zv);
|
||||
// queue operation
|
||||
return setBlockFast(position, material);
|
||||
} catch (EvaluationException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user