Updated Upstream (Paper) (#1170)

This commit is contained in:
frog-commits
2022-10-25 04:05:30 -04:00
committed by GitHub
parent 74b72a5f42
commit cd1bb761a9
10 changed files with 59 additions and 67 deletions

View File

@@ -14,7 +14,7 @@ index 72ed25022d5ea1074304be3c72b23882b8f0f88a..68eb990c7d461c611310419c1eefaed7
+ // Purpur start
+ public float getLocalDifficultyAt(Location location) {
+ return getHandle().getCurrentDifficultyAt(net.minecraft.server.MCUtil.toBlockPosition(location)).getEffectiveDifficulty();
+ return getHandle().getCurrentDifficultyAt(io.papermc.paper.util.MCUtil.toBlockPosition(location)).getEffectiveDifficulty();
+ }
+ // Purpur end
+