Skip to content

Commit

Permalink
Fixed Drop Cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
shinixsensei committed Sep 9, 2021
1 parent 404c0f2 commit 8303c72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/dev/angelsflyinhell/rin/events/BetterSaplings.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static void itemDrop(ItemSpawnEvent event) {
int r = new Random().nextInt(2);
if(r == 0) {
loc.getBlock().setType(event.getEntity().getItemStack().getType());
event.getEntity().remove();
}
}
}
Expand Down

0 comments on commit 8303c72

Please sign in to comment.