2020-01-22 02:02:07 +00:00
|
|
|
From 6485e9ecad897fa344735fc3ffb9f0b57ce46a81 Mon Sep 17 00:00:00 2001
|
2019-04-30 01:20:24 +00:00
|
|
|
From: Aikar <aikar@aikar.co>
|
|
|
|
Date: Thu, 19 Jul 2018 01:05:00 -0400
|
|
|
|
Subject: [PATCH] Don't change the Entity Random seed for squids
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/EntitySquid.java b/src/main/java/net/minecraft/server/EntitySquid.java
|
2020-01-22 02:02:07 +00:00
|
|
|
index 1c1ff2069..92efe4e7f 100644
|
2019-04-30 01:20:24 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntitySquid.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
|
2019-06-25 01:47:58 +00:00
|
|
|
@@ -21,7 +21,7 @@ public class EntitySquid extends EntityWaterAnimal {
|
2019-04-30 01:20:24 +00:00
|
|
|
|
|
|
|
public EntitySquid(EntityTypes<? extends EntitySquid> entitytypes, World world) {
|
|
|
|
super(entitytypes, world);
|
|
|
|
- this.random.setSeed((long) this.getId());
|
|
|
|
+ //this.random.setSeed((long) this.getId()); // Paper
|
2019-12-11 23:43:22 +00:00
|
|
|
this.bC = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
2019-04-30 01:20:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2020-01-22 02:02:07 +00:00
|
|
|
2.25.0.windows.1
|
2019-04-30 01:20:24 +00:00
|
|
|
|