mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-10 18:38:08 +01:00
Remove debug code
This commit is contained in:
parent
283fd3ee32
commit
d2a0aa637b
@ -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(
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user