1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-26 16:04:27 +02:00

Fix indents, file perms (sorry! XD)

This commit is contained in:
Chris Ward
2012-12-19 22:36:37 +11:00
parent 9b69334eea
commit 7df0802e88
3 changed files with 153 additions and 153 deletions

6
Essentials/src/net/ess3/commands/Commandrecipe.java Executable file → Normal file
View File

@@ -51,15 +51,15 @@ public class Commandrecipe extends EssentialsCommand
sender.sendMessage(_("recipe", getMaterialName(item), recipeNo + 1, recipes.size())); sender.sendMessage(_("recipe", getMaterialName(item), recipeNo + 1, recipes.size()));
if (recipe instanceof FurnaceRecipe) if (recipe instanceof FurnaceRecipe)
{ {
furnaceRecipe(sender, (FurnaceRecipe)recipe); furnaceRecipe(sender, (FurnaceRecipe) recipe);
} }
else if (recipe instanceof ShapedRecipe) else if (recipe instanceof ShapedRecipe)
{ {
shapedRecipe(sender, (ShapedRecipe)recipe); shapedRecipe(sender, (ShapedRecipe) recipe);
} }
else if (recipe instanceof ShapelessRecipe) else if (recipe instanceof ShapelessRecipe)
{ {
shapelessRecipe(sender, (ShapelessRecipe)recipe); shapelessRecipe(sender, (ShapelessRecipe) recipe);
} }
if (recipes.size() > 1 && args.length == 1) if (recipes.size() > 1 && args.length == 1)
{ {

View File

@@ -516,7 +516,7 @@ public class EssentialsPlayerListener implements Listener
else if (event.getView().getTopInventory().getType() == InventoryType.WORKBENCH) else if (event.getView().getTopInventory().getType() == InventoryType.WORKBENCH)
{ {
final IUser user = ess.getUserMap().getUser((Player)event.getPlayer()); final IUser user = ess.getUserMap().getUser((Player)event.getPlayer());
if(user.isRecipeSee()) if (user.isRecipeSee())
{ {
user.setRecipeSee(false); user.setRecipeSee(false);
event.getView().getTopInventory().clear(); event.getView().getTopInventory().clear();

0
Essentials/src/net/ess3/user/User.java Executable file → Normal file
View File