memoryleak-fix
Dieser Commit ist enthalten in:
Ursprung
dbaf226e2b
Commit
6fe7717f40
@ -19,6 +19,7 @@
|
||||
|
||||
package de.steamwar.bausystem.features.countingwand;
|
||||
|
||||
import de.steamwar.bausystem.SWUtils;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import de.steamwar.command.SWCommand;
|
||||
@ -34,6 +35,6 @@ public class CountingwandCommand extends SWCommand {
|
||||
|
||||
@Register
|
||||
public void genericCommand(final Player p) {
|
||||
p.getInventory().addItem(Countingwand.WAND_ITEM);
|
||||
SWUtils.giveItemToPlayer(p, Countingwand.WAND_ITEM);
|
||||
}
|
||||
}
|
In neuem Issue referenzieren
Einen Benutzer sperren