Remove debug code

This commit is contained in:
fullwall 2018-06-30 12:56:31 +08:00
parent 283fd3ee32
commit d2a0aa637b
2 changed files with 0 additions and 6 deletions

View File

@ -1,7 +1,6 @@
package net.citizensnpcs.commands;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import net.citizensnpcs.Citizens;
import net.citizensnpcs.api.command.Command;
@ -29,7 +28,6 @@ public class AdminCommands {
Messaging.send(sender, " <7>-- <c>Written by fullwall and aPunch");
Messaging.send(sender, " <7>-- <c>Source Code: http://github.com/CitizensDev");
Messaging.send(sender, " <7>-- <c>Website: " + plugin.getDescription().getWebsite());
Messaging.log(((Player) sender).getInventory().getItemInOffHand());
}
@Command(

View File

@ -354,10 +354,6 @@ public class CitizensNPC extends AbstractNPC {
if (Util.isAlwaysFlyable(type)) {
data().setPersistent(NPC.FLYABLE_METADATA, true);
}
if (type == EntityType.PLAYER) {
Player player = (Player) getEntity();
player.getInventory().getExtraContents();
}
}
private static final String NPC_METADATA_MARKER = "NPC";