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:
6
Essentials/src/net/ess3/commands/Commandrecipe.java
Executable file → Normal file
6
Essentials/src/net/ess3/commands/Commandrecipe.java
Executable file → Normal 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)
|
||||||
{
|
{
|
||||||
|
2
Essentials/src/net/ess3/listener/EssentialsPlayerListener.java
Executable file → Normal file
2
Essentials/src/net/ess3/listener/EssentialsPlayerListener.java
Executable file → Normal 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
0
Essentials/src/net/ess3/user/User.java
Executable file → Normal file
Reference in New Issue
Block a user