mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 02:25:19 +01:00
Improve block placing a bit
This commit is contained in:
parent
081c23ad8b
commit
0992c74351
@ -43,7 +43,7 @@ public class PaperPatch implements Listener {
|
||||
BlockFace relative = e.getBlockAgainst().getFace(e.getBlock());
|
||||
// Are they towering up, (handles some latency)
|
||||
if(relative == BlockFace.UP){
|
||||
if(diff.getY() <= 1.1D && diff.getY() >= 0D){
|
||||
if(diff.getY() < 1D && diff.getY() >= 0D){
|
||||
e.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user