Skip to content
Success

Changes

Summary

  1. SPIGOT-1232: CraftServer.getPlayer(String name) returns incorrect (details)
  2. SPIGOT-1235: Correctly validate MaterialData for playEffect. (details)
Commit f4c67a5c3264098dbd3a3a26bc1a352d84c13fe1 by md_5
SPIGOT-1232: CraftServer.getPlayer(String name) returns incorrect results in some cases.

Use the absolute value of the delta to prevent negative values resulting in a better match.
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/CraftServer.java
Commit 18fbb24b46427e2b41d3715a79f829b356b05ed5 by md_5
SPIGOT-1235: Correctly validate MaterialData for playEffect.

Thanks Jikoo for the report / fix.
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/CraftWorld.java
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java