2018-10-05 05:18:46 +02:00
|
|
|
From 8ecfbad7b86050b24ad575382b3fd29c199bc5a8 Mon Sep 17 00:00:00 2001
|
2018-07-19 07:13:53 +02: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
|
2018-08-26 20:11:49 +02:00
|
|
|
index 2dfa794a3f..522ce36cba 100644
|
2018-07-19 07:13:53 +02: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 07:51:01 +02:00
|
|
|
super(EntityTypes.SQUID, world);
|
2018-07-19 07:13:53 +02: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 07:51:01 +02:00
|
|
|
this.bI = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
2018-07-19 07:13:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2018-09-29 01:31:59 +02:00
|
|
|
2.19.0
|
2018-07-19 07:13:53 +02:00
|
|
|
|