mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 03:16:41 +00:00
Allow //replace to ignore from block damage values (and force them to not be ignored with the -f flag)
This commit is contained in:
@ -129,7 +129,8 @@ public class BaseBlock {
|
||||
if (!(o instanceof BaseBlock)) {
|
||||
return false;
|
||||
}
|
||||
return (type == ((BaseBlock)o).type) && (data == ((BaseBlock)o).data);
|
||||
return (type == ((BaseBlock)o).type)
|
||||
&& (data == ((BaseBlock)o).data || data == -1 || ((BaseBlock)o).data == -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user