Carpet

Carpet

2M Downloads

Language Improvment, __on_player_drops_item() & __on_player_drops_stack()

IceWolf23 opened this issue ยท 0 comments

commented

Actually __on_player_drops_item() and __on_player_drops_stack() give only player as argument, implement item tuple like as __on_player_pickup_item(player, item);

so

__on_player_drops_item(player, item_tuple) -> (
    print(player('all'), str('%s has just dropped %d of %s', player, item_tuple:1, item_tuple:0)
);

output like >>> IceWolf23X has just dropped 32 of dirt