geforkt von Mirrors/Paper
8ed2992da9
Portion of diff was dropped in the mappings update commit. Also remove the option to remove invalid statistics. The server will automatically do this now as of... 1.13?, our option wasn't even doing anything.
23 Zeilen
873 B
Diff
23 Zeilen
873 B
Diff
From 5ce33612445c4672c447d2efc855486b879f3bbd Mon Sep 17 00:00:00 2001
|
|
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
|
|
index a5edc5bc2..12aaab90a 100644
|
|
--- 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) {
|
|
super(EntityTypes.SQUID, world);
|
|
this.setSize(0.8F, 0.8F);
|
|
- this.random.setSeed((long) (1 + this.getId()));
|
|
+ //this.random.setSeed((long) (1 + this.getId())); // Paper
|
|
this.bI = 1.0F / (this.random.nextFloat() + 1.0F) * 0.2F;
|
|
}
|
|
|
|
--
|
|
2.20.0
|
|
|