mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-29 14:15:43 +01:00
Drop this unsafe shit
Apparently caused issues we werent aware of. Unfortunately there's no way to improve it without blocking the main thread.
This commit is contained in:
parent
ef14088415
commit
d065d41c0e
@ -20,10 +20,10 @@ Thanks to Gabriele C <sgdc3.mail@gmail.com> for pointing this issue to us, as he
|
||||
have any interest fixing this.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
index a52c0391b171c8a57de75f87c534ce1e0e78c44a..6ae35c96978b6d16bc45d3eff435f35647fd1555 100644
|
||||
index ce4ebc96c01f3dacf4e4d0569d86f52140440d43..5cf7699f439eb7ef310f0ab02b120836c4a56bfc 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
@@ -1923,7 +1923,7 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
@@ -1914,7 +1914,7 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
public static UUID a(GameProfile gameprofile) {
|
||||
UUID uuid = gameprofile.getId();
|
||||
|
@ -56,7 +56,7 @@ index 3fb72d6ee587d66a9b7e1dec27fc4f64b82ab4df..596815d70e69fd645bec5b6e8c1ebc7b
|
||||
Throwable throwable = null;
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index 437698cf4fee266c87eebb8b5f05509b587913e7..01d95a9946a6db0f03e4e1e1eaa66d162ae4c6e8 100644
|
||||
index 5760b40bdbee417f5bb5210f1271241ff8f36350..f84bec53b9ed7f8ae4cbb391530dc675f42e2a7a 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
@@ -637,6 +637,7 @@ public abstract class PlayerList {
|
@ -39,7 +39,7 @@ index cb4f173774b46793bc3744cb3242edd9272df463..4fac720564b8687fae59c0f2e4898a48
|
||||
this.minecraftServer.getPlayerList().sendMessage(CraftChatMessage.fromString(quitMessage));
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index 01d95a9946a6db0f03e4e1e1eaa66d162ae4c6e8..3df9a91c0474df8a2884f4a4ae7d016bd31600e9 100644
|
||||
index f84bec53b9ed7f8ae4cbb391530dc675f42e2a7a..7095396f3c92c023111c659986f3fae384a7f9c6 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
@@ -500,6 +500,11 @@ public abstract class PlayerList {
|
@ -111,7 +111,7 @@ index 893d2c1c74ed28dcdb83b71762ccdcbfd50a8f9d..f9e97d28ab182ff1b9e216b2c4516428
|
||||
|
||||
private static int b(CommandListenerWrapper commandlistenerwrapper) throws CommandSyntaxException {
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
index 6ae35c96978b6d16bc45d3eff435f35647fd1555..a64683d1d21c282b249e2dd07cbb497721f1052d 100644
|
||||
index 5cf7699f439eb7ef310f0ab02b120836c4a56bfc..9fa597b49f156be49777a5b51e7c231c7728a42f 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
@@ -77,6 +77,7 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
@ -122,7 +122,7 @@ index 6ae35c96978b6d16bc45d3eff435f35647fd1555..a64683d1d21c282b249e2dd07cbb4977
|
||||
|
||||
@Override
|
||||
public CraftHumanEntity getBukkitEntity() {
|
||||
@@ -1892,6 +1893,15 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
@@ -1883,6 +1884,15 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
return this.getProfile().getName();
|
||||
}
|
||||
|
@ -6,10 +6,10 @@ Subject: [PATCH] PlayerAttackEntityEvent
|
||||
Added per request
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
index a64683d1d21c282b249e2dd07cbb497721f1052d..a7758c07270aedabe19dc6b1aa96e58ebe87648b 100644
|
||||
index 9fa597b49f156be49777a5b51e7c231c7728a42f..ff6a8473027d82db1fbf3ab18fd0cfe08e2d9d78 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityHuman.java
|
||||
@@ -1058,11 +1058,47 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
@@ -1049,11 +1049,47 @@ public abstract class EntityHuman extends EntityLiving {
|
||||
|
||||
flag2 = flag2 && !world.paperConfig.disablePlayerCrits; // Paper
|
||||
flag2 = flag2 && !this.isSprinting();
|
@ -5,7 +5,7 @@ Subject: [PATCH] Respect rotation when respawning
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index 3df9a91c0474df8a2884f4a4ae7d016bd31600e9..171aa373e1ecd30211ec04810441c8f9cc1039f7 100644
|
||||
index 7095396f3c92c023111c659986f3fae384a7f9c6..31239ca101cf168ce8f7f599c4ab05a389e760db 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
@@ -815,7 +815,7 @@ public abstract class PlayerList {
|
Loading…
Reference in New Issue
Block a user