getBlock event with the player

Discussion in 'Plugin Development' started by Ban4ik1, Mar 28, 2023.

Thread Status:
Not open for further replies.
  1. Offline

    Ban4ik1

    Hi all. I need help with finding a block in an invete with a player for example playerdeath, Thanks to everyone who helps.
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Ban4ik1 Why not do 1 issue at the time?
     
  3. Offline

    LABSTORM

    Which block? The one the Player was standing on?
    If so get the player from the event and than the location from the player object.
     
    Last edited by a moderator: Mar 29, 2023
  4. Offline

    Ban4ik1

    Yes! The block on which the player clicked RMB.
     
  5. Offline

    timtower Administrator Administrator Moderator

    RMB doesn't work in playerdeath...
     
Thread Status:
Not open for further replies.

Share This Page