mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 10:28:35 +00:00
Get rid of the string equality and convert a few more ID uses over.
This commit is contained in:
@ -318,7 +318,7 @@ public class BaseBlock extends Block implements TileEntityBlock {
|
||||
* @return if air
|
||||
*/
|
||||
public boolean isAir() {
|
||||
return getType().getId().equals(BlockTypes.AIR);
|
||||
return getType() == BlockTypes.AIR;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user