mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix build, add note
This commit is contained in:
parent
46fb0c9418
commit
a66080d803
@ -341,7 +341,8 @@ public class BlockState implements BlockStateHolder<BlockState>, Pattern {
|
||||
BlockType type = this.getBlockType();
|
||||
// Lazily initialize the map
|
||||
Map<? extends Property, Object> map = Maps.asMap(type.getPropertiesSet(), (Function<Property, Object>) this::getState);
|
||||
return Collections.unmodifiableMap(map);
|
||||
//noinspection RedundantCast - This is required for compilation, etc.
|
||||
return Collections.unmodifiableMap((Map<Property<?>, Object>) map);
|
||||
//FAWE end
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user