Skip to content

Commit

Permalink
Do not check for loot table on item dispense for 1.8 & 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ds58 committed Feb 13, 2021
1 parent 94a298e commit ad8dd4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
allprojects {
group = 'com.ruinscraft'
version = '1.6.3'
version = '1.6.4'
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public void onInteract(PlayerInteractEvent event) {

@EventHandler
public void onDispense(BlockDispenseEvent event) {
if (!checkForLootable) {
return;
}

ItemStack itemStack = event.getItem();

if (itemStack.getItemMeta() instanceof BlockStateMeta) {
Expand Down

0 comments on commit ad8dd4d

Please sign in to comment.