2019-04-22 21:36:14 +00:00
|
|
|
From d4d2715633e038dca7705ed0ecbda6daff2dfae4 Mon Sep 17 00:00:00 2001
|
2018-07-19 05:13:53 +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
|
2019-04-22 21:36:14 +00:00
|
|
|
index b9c76325db..ab79317a2d 100644
|
2018-07-19 05:13:53 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntitySquid.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
|
|
|
|
@@ -22,7 +22,7 @@ public class EntitySquid extends EntityWaterAnimal {
|
|
|
|
public EntitySquid(World world) {
|
2018-07-19 05:51:01 +00:00
|
|
|
super(EntityTypes.SQUID, world);
|
2018-07-19 05:13:53 +00:00
|
|
|
this.setSize(0.8F, 0.8F);
|
|
|
|
- this.random.setSeed((long) (1 + this.getId()));
|
|
|
|
+ //this.random.setSeed((long) (1 + this.getId())); // Paper
|
2018-07-19 05:51:01 +00:00
|
|
|
this.bI = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
2018-07-19 05:13:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2019-03-20 01:46:00 +00:00
|
|
|
2.21.0
|
2018-07-19 05:13:53 +00:00
|
|
|
|