mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-23 08:16:52 +00:00
Avoid map lookup in isMovementBlocker
calls (#2906)
This commit is contained in:
@ -126,9 +126,10 @@ public class PaperweightBlockMaterial implements BlockMaterial {
|
||||
return blockState.isRandomlyTicking();
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public boolean isMovementBlocker() {
|
||||
return craftMaterial.isSolid();
|
||||
return blockState.blocksMotion();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user