mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 19:12:22 +01:00
0c7c2af037
Fix NPE when setting a player's spectator target
20 lines
No EOL
721 B
Diff
20 lines
No EOL
721 B
Diff
From 0000000000000000000000000000000000000000 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
|
|
@@ -0,0 +0,0 @@ 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() {
|
|
--
|