Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
We build for JDK 1.5.
Dieser Commit ist enthalten in:
Ursprung
6e746ef79a
Commit
22c28e593e
@ -67,7 +67,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
if (world == null) {
|
if (world == null) {
|
||||||
dead = false;
|
dead = false;
|
||||||
ChunkCoordinates position = null;
|
ChunkCoordinates position = null;
|
||||||
if (!spawnWorld.isEmpty()) {
|
if (spawnWorld != null && !spawnWorld.equals("")) {
|
||||||
CraftWorld cw = (CraftWorld) Bukkit.getServer().getWorld(spawnWorld);
|
CraftWorld cw = (CraftWorld) Bukkit.getServer().getWorld(spawnWorld);
|
||||||
if (cw != null && M() != null) {
|
if (cw != null && M() != null) {
|
||||||
world = cw.getHandle();
|
world = cw.getHandle();
|
||||||
|
@ -598,7 +598,7 @@ public final class CraftServer implements Server {
|
|||||||
if (node != null) {
|
if (node != null) {
|
||||||
String name = node.getString("generator");
|
String name = node.getString("generator");
|
||||||
|
|
||||||
if ((name != null) && (!name.isEmpty())) {
|
if ((name != null) && (!name.equals(""))) {
|
||||||
String[] split = name.split(":", 2);
|
String[] split = name.split(":", 2);
|
||||||
String id = (split.length > 1) ? split[1] : null;
|
String id = (split.length > 1) ? split[1] : null;
|
||||||
Plugin plugin = pluginManager.getPlugin(split[0]);
|
Plugin plugin = pluginManager.getPlugin(split[0]);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren