geforkt von Mirrors/FastAsyncWorldEdit
Fixed invoke method missing argument
Dieser Commit ist enthalten in:
Ursprung
be73d29354
Commit
34c8ecc694
@ -286,7 +286,7 @@ public final class Spigot_v1_13_R2 extends CachedBukkitAdapter implements Bukkit
|
|||||||
}
|
}
|
||||||
if (existing.e() != blockData.e() || existing.getMaterial().f() != blockData.getMaterial().f()) {
|
if (existing.e() != blockData.e() || existing.getMaterial().f() != blockData.getMaterial().f()) {
|
||||||
try {
|
try {
|
||||||
chunkSetTypeMethod.invoke(pos = new BlockPosition(x, y, z), blockData, false);
|
chunkSetTypeMethod.invoke(nmsChunk, pos = new BlockPosition(x, y, z), blockData, false);
|
||||||
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
|
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
|
||||||
logger.warning("Error when setting block!");
|
logger.warning("Error when setting block!");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren