This commit is contained in:
fullwall 2019-11-28 16:12:25 +08:00
parent d0dcb235b3
commit 6c4682b7a1

View File

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