This commit is contained in:
fullwall 2019-12-21 18:47:59 +09:00
parent 8c165b9d55
commit ba216c7587

View File

@ -1173,7 +1173,7 @@ public class NMSImpl implements NMSBridge {
Entity handle = NMSImpl.getHandle(entity);
if (handle == null)
return;
if (RANDOM.nextFloat() < 0.8F && (handle.isInWater() || handle.ay())) {
if (RANDOM.nextFloat() < 0.8F && (handle.isInWater() || handle.aC())) {
handle.setMot(handle.getMot().getX(), handle.getMot().getY() + power, handle.getMot().getZ());
}
}