Update SB's affectsSpawning API to use filters
Closes GH-169
This commit is contained in:
committed by
Zach Brown
parent
4ee5d3eb31
commit
15cdfc7472
@@ -1,4 +1,4 @@
|
||||
From 25b0aac196ce95c319b3886df553f581a0c05ab0 Mon Sep 17 00:00:00 2001
|
||||
From 72f0c84a2ce35945f2df3a37d9a7304a50e710da Mon Sep 17 00:00:00 2001
|
||||
From: Byteflux <byte@byteflux.net>
|
||||
Date: Tue, 1 Mar 2016 23:45:08 -0600
|
||||
Subject: [PATCH] Entity Origin API
|
||||
@@ -81,10 +81,10 @@ index 564ea37..1113b1c 100644
|
||||
|
||||
public EntityLiving getSource() {
|
||||
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
|
||||
index 72d0f5c..3f4bc0f 100644
|
||||
index 60d658f..0e9cf7a 100644
|
||||
--- a/src/main/java/net/minecraft/server/World.java
|
||||
+++ b/src/main/java/net/minecraft/server/World.java
|
||||
@@ -948,6 +948,12 @@ public abstract class World implements IBlockAccess {
|
||||
@@ -949,6 +949,12 @@ public abstract class World implements IBlockAccess {
|
||||
int j = MathHelper.floor(entity.locZ / 16.0D);
|
||||
boolean flag = entity.attachedToPlayer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user