1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
Florian CUNY 2017-11-25 22:05:34 +01:00
parent 3bbd0e040c
commit 2696f5a8a5
2 changed files with 3 additions and 3 deletions

View File

@ -247,7 +247,7 @@ public abstract class AContainer extends SlimefunItem {
int size = BlockStorage.getInventory(b).toInventory().getSize();
Inventory inv = Bukkit.createInventory(null, size);
for (int i = 0; i < size; i++) {
inv.setItem(i, new CustomItem(Material.COMMAND, " &4ALL YOUR PLACEHOLDERS BELONG TO US", 0));
inv.setItem(i, new CustomItem(Material.COMMAND, " &4ALL YOUR PLACEHOLDERS ARE BELONG TO US", 0));
}
for (int slot: getOutputSlots()) {
inv.setItem(slot, BlockStorage.getInventory(b).getItemInSlot(slot));
@ -317,7 +317,7 @@ public abstract class AContainer extends SlimefunItem {
}
else {
BlockStorage.getInventory(b).replaceExistingItem(22, new CustomItem(new MaterialData(Material.STAINED_GLASS_PANE, (byte) 15), " "));
pushItems(b, processing.get(b).getOutput());
pushItems(b, processing.get(b).getOutput().clone());
progress.remove(b);
processing.remove(b);

View File

@ -274,7 +274,7 @@ public abstract class AutomatedCraftingChamber extends SlimefunItem {
String input = builder.toString();
if (recipes.containsKey(input)) {
ItemStack output = recipes.get(input);
ItemStack output = recipes.get(input).clone();
if (fits(b, new ItemStack[] {output})) {
pushItems(b, new ItemStack[] {output});