Commits

Anonymous committed 006368e

fixed bug

  • Participants
  • Parent commits 705463c

Comments (0)

Files changed (1)

File src/info/daybreaker/minecraft/PhilosophersCircuitPistonListener.java

 				ItemStack resultStack = inventory.getItem(indexOfResult);
 
 				if (plugin.config.getBoolean("furnaceDuplicator.preventInfiniteLoop", true)
-						&& sourceStack.getType().equals(Material.COBBLESTONE)
-						&& sourceStack.getType().equals(Material.OBSIDIAN))
+						&& (sourceStack.getType().equals(Material.COBBLESTONE)
+						|| sourceStack.getType().equals(Material.OBSIDIAN))) {
 					return;
+				}
 
 				if (fuelStack.getType().equals(Material.COBBLESTONE) && sourceStack.getAmount() > 0) {
 					int fuelAmount = fuelStack.getAmount();