mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Fix EntityItemPickupEvent when there are multiple modded handlers
This commit is contained in:
1 parent
43a2f0ae76
commit
219e9bf355
1 file changed
+1
-1
@@ -45,7 +45,7 @@ public class EventHandlerCore {
|
||||
@SubscribeEvent
|
||||
public void handleItemPickup(EntityItemPickupEvent event) {
|
||||
|
||||
if (event.isCanceled()) {
|
||||
if (event.isCanceled() || event.getResult() == Result.ALLOW) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user