mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 03:16:41 +00:00
Should fix broken config generation some people have been getting
This commit is contained in:
@ -132,6 +132,13 @@ public class BaseBlock {
|
||||
&& (data == ((BaseBlock) o).data || data == -1 || ((BaseBlock) o).data == -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
int ret = type << 3;
|
||||
if (data != (byte)-1) ret |= data;
|
||||
return ret;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "BaseBlock id: " + getType() + " with damage: " + getData();
|
||||
|
Reference in New Issue
Block a user