!Extra constructor

This commit is contained in:
Indyuce 2019-10-20 00:04:18 +02:00
parent 174c7e44a7
commit 8b29b9387a

View File

@ -40,6 +40,10 @@ public class CraftingStationView extends PluginInventory {
private static final int[] slots = { 10, 11, 12, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25 }, queueSlots = { 38, 39, 40, 41, 42 };
private static final int[] fill = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 28, 29, 30, 31, 32, 33, 34 };
public CraftingStationView(Player player, CraftingStation station) {
this(player, station, 1);
}
public CraftingStationView(Player player, CraftingStation station, int page) {
super(player);
@ -153,11 +157,11 @@ public class CraftingStationView extends PluginInventory {
String tag = item.getString("recipeId");
if (!tag.equals("")) {
RecipeInfo recipe = getRecipe(tag);
if(event.isRightClick()) {
if (event.isRightClick()) {
new CraftingStationPreview(player, station, recipe, page).open();
return;
}
processRecipe(recipe);
updateData();