mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Fix issue #1974
This commit is contained in:
parent
d0dcb235b3
commit
6c4682b7a1
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user