mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 08:09:39 +01:00
Setting the treasure config to only enforce data limits for blocks.
This commit is contained in:
parent
c5e6704530
commit
5f50a46603
@ -117,7 +117,7 @@ public class TreasureConfig extends ConfigLoader {
|
||||
reason.add("Invalid amount: " + amount);
|
||||
}
|
||||
|
||||
if (data > 127 || data < -128) {
|
||||
if (id < 256 && (data > 127 || data < -128)) {
|
||||
reason.add("Invalid data: " + data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user