geforkt von Mirrors/FastAsyncWorldEdit
Ursprung
6ab927fa4d
Commit
ca1744aa97
@ -401,7 +401,7 @@ public class BlockTransformExtent extends ResettableExtent {
|
|||||||
if (isDirectional(property)) {
|
if (isDirectional(property)) {
|
||||||
long[] directions = getDirections(property);
|
long[] directions = getDirections(property);
|
||||||
if (directions != null) {
|
if (directions != null) {
|
||||||
int oldIndex = property.getIndex(newMaskedId);
|
int oldIndex = property.getIndex(state.getInternalId());
|
||||||
if (oldIndex >= directions.length) {
|
if (oldIndex >= directions.length) {
|
||||||
if (Settings.IMP.ENABLED_COMPONENTS.DEBUG) {
|
if (Settings.IMP.ENABLED_COMPONENTS.DEBUG) {
|
||||||
LOGGER.warn(String.format("Index outside direction array length found for block:{%s} property:{%s}", state.getBlockType().getId(), property.getName()));
|
LOGGER.warn(String.format("Index outside direction array length found for block:{%s} property:{%s}", state.getBlockType().getId(), property.getName()));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren