mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-03 01:10:37 +01:00
64840b3018
Fix NPE when setting a player's spectator target
23 lines
733 B
Diff
23 lines
733 B
Diff
From 99ed7aeec6f05ab04eb9ad55c35c706c538debd8 Mon Sep 17 00:00:00 2001
|
|
From: BillyGalbreath <Blake.Galbreath@GMail.com>
|
|
Date: Fri, 19 Oct 2018 19:38:45 -0500
|
|
Subject: [PATCH] Fix MC-93764
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/WorldProviderTheEnd.java b/src/main/java/net/minecraft/server/WorldProviderTheEnd.java
|
|
index d830b761..b6e0b6c7 100644
|
|
--- a/src/main/java/net/minecraft/server/WorldProviderTheEnd.java
|
|
+++ b/src/main/java/net/minecraft/server/WorldProviderTheEnd.java
|
|
@@ -25,7 +25,7 @@ public class WorldProviderTheEnd extends WorldProvider {
|
|
}
|
|
|
|
public float a(long var1, float var3) {
|
|
- return 0.0F;
|
|
+ return 0.5F; // Paper - fix MC-93764
|
|
}
|
|
|
|
public boolean p() {
|
|
--
|
|
2.19.1
|
|
|