|
@@ -705,6 +705,7 @@ public class ScriptEvents extends ModuleListener
|
|
|
{
|
|
|
handleEvent(e.getEntityPlayer(), "player_pickup", (qd) ->
|
|
|
{
|
|
|
+ ScriptVars.setEntityVars(qd, e.getItem());
|
|
|
ScriptVars.setItemVars(qd, e.getItem().getItem());
|
|
|
qd.setVar("cancel", e.isCanceled());
|
|
|
}, (qd) ->
|