aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0072-Use-a-Shared-Random-for-Entities.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0072-Use-a-Shared-Random-for-Entities.patch')
-rw-r--r--patches/server/0072-Use-a-Shared-Random-for-Entities.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0072-Use-a-Shared-Random-for-Entities.patch b/patches/server/0072-Use-a-Shared-Random-for-Entities.patch
index cec2d61d7d..95f53b5fed 100644
--- a/patches/server/0072-Use-a-Shared-Random-for-Entities.patch
+++ b/patches/server/0072-Use-a-Shared-Random-for-Entities.patch
@@ -99,15 +99,15 @@ index 9fb52c98455d547bdde6d56689528e78a5ddfed5..52220795bf8a73c63837b4e07b1abf99
this.fluidHeight = new Object2DoubleArrayMap(2);
this.fluidOnEyes = new HashSet();
diff --git a/src/main/java/net/minecraft/world/entity/animal/Squid.java b/src/main/java/net/minecraft/world/entity/animal/Squid.java
-index d404cd4c805442004d9a5f259a9e0907758ad915..36506dc4b99f9de19a23a99c1bccdcb4e7102e72 100644
+index 1d1a4a52f3a2361688fa81ca0a2cd2e00abe652d..051fb9f1e0d91b1cb1e2dec9a03f3b26fe64c82a 100644
--- a/src/main/java/net/minecraft/world/entity/animal/Squid.java
+++ b/src/main/java/net/minecraft/world/entity/animal/Squid.java
@@ -44,7 +44,7 @@ public class Squid extends WaterAnimal {
public Squid(EntityType<? extends Squid> type, Level world) {
super(type, world);
-- this.random.setSeed((long)this.getId());
-+ //this.random.setSeed((long)this.getId()); // Paper - Share random for entities to make them more random
+- this.random.setSeed(this.getId());
++ //this.random.setSeed(this.getId()); // Paper - Share random for entities to make them more random
this.tentacleSpeed = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
}