mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-19 15:09:15 +00:00
Update BukkitServerPlayer.java
This commit is contained in:
@@ -675,7 +675,7 @@ public class BukkitServerPlayer extends Player {
|
|||||||
|
|
||||||
private void predictNextBlockToMine() {
|
private void predictNextBlockToMine() {
|
||||||
double range = getCachedInteractionRange() + Config.extendedInteractionRange();
|
double range = getCachedInteractionRange() + Config.extendedInteractionRange();
|
||||||
RayTraceResult result = platformPlayer().rayTraceBlocks(range, FluidCollisionMode.NEVER);
|
RayTraceResult result = rayTrace(this.eyeLocation, range, FluidCollisionMode.NEVER);
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
if (!this.clientSideCanBreak) {
|
if (!this.clientSideCanBreak) {
|
||||||
setClientSideCanBreakBlock(true);
|
setClientSideCanBreakBlock(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user