mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
We build for JDK 1.5.
By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
parent
10dcb517dc
commit
9ad0ab93d1
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ public final class CraftServer implements Server {
|
|||
if (node != null) {
|
||||
String name = node.getString("generator");
|
||||
|
||||
if ((name != null) && (!name.isEmpty())) {
|
||||
if ((name != null) && (!name.equals(""))) {
|
||||
String[] split = name.split(":", 2);
|
||||
String id = (split.length > 1) ? split[1] : null;
|
||||
Plugin plugin = pluginManager.getPlugin(split[0]);
|
||||
|
|
Loading…
Reference in a new issue