Skip to content

Commit

Permalink
General code cleaning
Browse files Browse the repository at this point in the history
Line scraps
  • Loading branch information
mcmonkey4eva committed Oct 6, 2014
1 parent f802d08 commit 4dc3e3d
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 17 deletions.
Expand Up @@ -113,5 +113,4 @@ else if (!determination.equals("none")) {
}

}

}
1 change: 0 additions & 1 deletion src/main/java/net/aufdemrand/denizen/npc/dNPCRegistry.java
Expand Up @@ -222,5 +222,4 @@ public void onInventoryClick(InventoryClickEvent event) {
equipment.set(i, inventory.getItem(i));
}
}

}
Expand Up @@ -27,5 +27,4 @@ public boolean isBystandersEnabled() {
public double getChatRange() {
return chatRange;
}

}
Expand Up @@ -21,5 +21,4 @@ public interface Notable {
public void makeUnique(String id);

public void forget();

}
Expand Up @@ -131,5 +131,4 @@ public boolean runAllowedHelpProcedure(dPlayer player, dNPC npc, Map<String, dOb
public boolean hasAllowedHelpProcedure() {
return contains("ALLOWED HELP");
}

}
Expand Up @@ -148,5 +148,4 @@ public boolean apply(HelpTopic topic) {
return topic.getName().charAt(0) == '/';
}
}

}
Expand Up @@ -54,5 +54,4 @@ public void onInventoryClose(InventoryCloseEvent event) {
if (tempInventoryScripts.containsKey(inventory) && inventory.getViewers().isEmpty())
tempInventoryScripts.remove(inventory);
}

}
Expand Up @@ -342,8 +342,6 @@ public void removeDefinition(String definition) {
definitions.remove(definition.toLowerCase());
}



/**
* Returns a Map of all the current definitions
* stored in the queue, keyed by 'definition id'
Expand Down
Expand Up @@ -75,5 +75,4 @@ public boolean execute(CommandSender commandSender, String commandLabel, String[
public boolean isRegistered() {
return true;
}

}
Expand Up @@ -16,5 +16,4 @@ public DenizenCommandHelpTopic(DenizenCommand command) {
public boolean canSee(CommandSender sender) {
return denizenCommand.canSeeHelp(sender);
}

}
Expand Up @@ -509,5 +509,4 @@ private static String escapeJSON(String text) {
private static String urlEncode(final String text) throws UnsupportedEncodingException {
return URLEncoder.encode(text, "UTF-8");
}

}
2 changes: 0 additions & 2 deletions src/main/java/net/aufdemrand/denizen/utilities/Utilities.java
Expand Up @@ -373,8 +373,6 @@ public static boolean checkLocation(Location baseLocation, Location theLocation,
return baseLocation.distanceSquared(theLocation) < theLeeway * theLeeway;
}



/**
* Set the lines on a sign to the strings in a string array
*
Expand Down
Expand Up @@ -58,5 +58,4 @@ public static void resetEquipment(Player player, LivingEntity entity) {
PacketHelper.sendPacket(player, getEquipmentPacket(entity, 3, equipment.getChestplate()));
PacketHelper.sendPacket(player, getEquipmentPacket(entity, 4, equipment.getHelmet()));
}

}
Expand Up @@ -103,5 +103,4 @@ public void playerInteract(PlayerInteractEvent event) {
if (player != null && slotChanged.containsKey(player.getUniqueId()))
slotChanged.remove(player.getUniqueId());
}

}
Expand Up @@ -35,5 +35,4 @@ public static Map<String, Field> getFields(Class<?> cl) {
return classFields.get(cl);
return null;
}

}

0 comments on commit 4dc3e3d

Please sign in to comment.