Change getRaw to getValue for conversion of meta
This commit is contained in:
parent
5e165e3c97
commit
79d7533260
@ -143,11 +143,11 @@ public class DisguiseAPI {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (index.getDefault() == obj.getValue() || index.getDefault() == obj.getRawValue()) {
|
if (index.getDefault() == obj.getValue() || index.getDefault() == obj.getValue()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
watcher.setUnsafeData(index, obj.getRawValue());
|
watcher.setUnsafeData(index, obj.getValue());
|
||||||
|
|
||||||
// Update the meta for 0, otherwise boolean be weird
|
// Update the meta for 0, otherwise boolean be weird
|
||||||
if (index == MetaIndex.ENTITY_META) {
|
if (index == MetaIndex.ENTITY_META) {
|
||||||
|
Loading…
Reference in New Issue
Block a user