#Client Sided Plot System

1 messages · Page 1 of 1 (latest)

harsh sluice
#

I'm tryna make a client sided plot system but there's like a paper behavior which stops me a little...
I have to wait 2 ticks before i send the client sided block to the player cause paper does some 'block resync' thing which takes 2 ticks. How would i bypass this?

import:
    org.bukkit.Bukkit
    org.bukkit.Material

options:
    plot-name: player_plot

on block place:
    event-location is in region "{@plot-name}"
    cancel event
    remove 1 of player's tool from player's inventory

    set {_loc} to event-location

    wait 2 tick

    set {_data} to Bukkit.createBlockData(Material.GLASS)
    (player).sendBlockChange({_loc}, {_data})
#

Basically i don't want the 2 tick delay as it looks ugly

vast shoal
#

gang pls help