mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 11:22:15 +01:00
Misc. cleanup from 1.8.4 update
This commit is contained in:
parent
140e26958b
commit
56edb22600
2 changed files with 3 additions and 3 deletions
Spigot-Server-Patches
|
@ -32,7 +32,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ }
|
||||
+
|
||||
+ Chunk chunk = this.getChunkIfLoaded(blockposition.getX() >> 4, blockposition.getZ() >> 4);
|
||||
+ if (chunk != null) {
|
||||
+ if (chunk == null) {
|
||||
return enumskyblock.c;
|
||||
} else {
|
||||
- Chunk chunk = this.getChunkAtWorldCoords(blockposition);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
||||
From: Jedediah Smith <jedediah@silencegreys.com>
|
||||
Date: Mon, 18 May 2015 17:52:45 -0500
|
||||
Subject: [PATCH] Player affects spawning API
|
||||
|
||||
|
@ -51,7 +51,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
EntityHuman entityhuman = (EntityHuman) iterator.next();
|
||||
|
||||
- if (!entityhuman.isSpectator()) {
|
||||
+ if (!entityhuman.isSpectator() || !entityhuman.affectsSpawning) { // PaperSpigot) {
|
||||
+ if (!entityhuman.isSpectator() || !entityhuman.affectsSpawning) { // PaperSpigot
|
||||
int l = MathHelper.floor(entityhuman.locX / 16.0D);
|
||||
|
||||
j = MathHelper.floor(entityhuman.locZ / 16.0D);
|
||||
|
|
Loading…
Add table
Reference in a new issue