2020-05-06 11:48:49 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2019-04-30 03:20:24 +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
|
2020-11-18 04:45:18 +01:00
|
|
|
index 050c4bdac8519250157b77c3221c99bd49e53a22..b21605a62365fe24f315f35bd840b4740fc80f0e 100644
|
2019-04-30 03:20:24 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/EntitySquid.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/EntitySquid.java
|
2019-06-25 03:47:58 +02:00
|
|
|
@@ -21,7 +21,7 @@ public class EntitySquid extends EntityWaterAnimal {
|
2019-04-30 03:20:24 +02: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
|
2020-08-25 04:22:08 +02:00
|
|
|
this.bu = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
2019-04-30 03:20:24 +02:00
|
|
|
}
|
|
|
|
|