mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fix mixin
This commit is contained in:
parent
c3c2ba461a
commit
44bde9fd16
1 changed files with 0 additions and 7 deletions
|
@ -37,13 +37,6 @@ abstract class MixinBoatEntity extends Entity implements LavaAffine {
|
|||
return isLavaAffine() ? FluidTags.LAVA : FluidTags.WATER;
|
||||
}
|
||||
|
||||
@Inject(method = "copyEntityData", at = @At("HEAD"))
|
||||
private void onCopyEntityData(Entity entity, CallbackInfo info) {
|
||||
if (entity instanceof LavaAffine affine) {
|
||||
affine.setLavaAffine(isLavaAffine());
|
||||
}
|
||||
}
|
||||
|
||||
@Inject(method = "writeCustomDataToNbt", at = @At("HEAD"))
|
||||
private void onWriteCustomDataToNbt(NbtCompound nbt, CallbackInfo info) {
|
||||
nbt.putBoolean("IsLavaAffine", isLavaAffine());
|
||||
|
|
Loading…
Reference in a new issue