13
0
geforkt von Mirrors/Paper
Dieser Commit ist enthalten in:
md_5 2016-03-06 16:43:38 +11:00 committet von Zach Brown
Ursprung ccba51cd38
Commit 4228de7030

Datei anzeigen

@ -1,11 +1,11 @@
From bf2727ee6118aedf675620726d68ff933bd0c400 Mon Sep 17 00:00:00 2001
From c6f91ad2c2077d4b5643b5f98cec026d7c55661d Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net>
Date: Mon, 13 Jul 2015 19:05:15 +1000
Subject: [PATCH] Use Map for getPlayer(String) lookup.
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index 08c7e50..6fda4b7 100644
index 708c94c..08faf3a 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -65,6 +65,7 @@ public abstract class PlayerList {
@ -47,7 +47,7 @@ index 08c7e50..6fda4b7 100644
+ this.playersByName.put(entityplayer1.getName(), entityplayer1); // Spigot
this.j.put(entityplayer1.getUniqueID(), entityplayer1);
}
entityplayer1.syncInventory();
// entityplayer1.syncInventory();
@@ -1129,19 +1134,7 @@ public abstract class PlayerList {
}