mirror of
https://github.com/craftaro/EpicSpawners.git
synced 2025-01-09 03:57:40 +08:00
Patch
This commit is contained in:
parent
e5733f8dac
commit
c46ad338fb
@ -219,6 +219,7 @@ public class EpicSpawnersPlugin extends JavaPlugin implements EpicSpawners {
|
||||
for (String entityKillsKey : row.get("entitykills").asString().split(";")) {
|
||||
if (entityKillsKey == null) continue;
|
||||
String[] entityKills2 = entityKillsKey.split(":");
|
||||
if (entityKills2[0] == null) continue;
|
||||
EntityType entityType = EntityType.valueOf(entityKills2[0]);
|
||||
int amt = Integer.parseInt(entityKills2[1]);
|
||||
entityKills.put(entityType, amt);
|
||||
|
Loading…
Reference in New Issue
Block a user