mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
parent
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()));
|
||||||
|
Loading…
Reference in New Issue
Block a user