Fix build, add note

Dieser Commit ist enthalten in:
dordsor21 2021-08-25 14:06:12 +01:00
Ursprung 46fb0c9418
Commit a66080d803
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -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
}