Update WDDCapability.java
This commit is contained in:
parent
fb3c6be715
commit
d534dd8db6
|
|
@ -42,21 +42,11 @@ public class WDDCapability implements IWDDCapability {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CompoundTag serializeNBT() {
|
public CompoundTag serializeNBT() {
|
||||||
CompoundTag tag = new CompoundTag();
|
return new CompoundTag();
|
||||||
if (INSTANCE.isPresent()) {
|
|
||||||
INSTANCE.ifPresent(cap -> tag.put("Tag", tag));
|
|
||||||
}
|
|
||||||
return tag;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deserializeNBT(CompoundTag tag) {
|
public void deserializeNBT(CompoundTag tag) {}
|
||||||
if (INSTANCE.isPresent()) {
|
|
||||||
INSTANCE.ifPresent(cap -> {
|
|
||||||
tag.get("Tag");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
private IWDDCapability createWDDCapability() {
|
private IWDDCapability createWDDCapability() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user