1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Implement fix for ChestTerminals

Recently,  there was a duplication glitch with Chest Terminals with androids that I had posted. This fix fixes that glitch and prevents androids from mining player heads altogether.
This commit is contained in:
CyberPatriot 2019-08-03 16:24:34 -05:00
parent c9bdac1277
commit 13e0e02dc1

View File

@ -83,6 +83,8 @@ public abstract class ProgrammableAndroid extends SlimefunItem {
blockblacklist.add(Material.CHAIN_COMMAND_BLOCK);
blockblacklist.add(Material.REPEATING_COMMAND_BLOCK);
blockblacklist.add(Material.STRUCTURE_BLOCK);
blockblacklist.add(Material.PLAYER_HEAD);
blockblacklist.add(Material.PLAYER_WALL_HEAD);
}
private Set<MachineFuel> recipes = new HashSet<>();