summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityItem.java
diff options
context:
space:
mode:
authormbax <matt@phozop.net>2012-09-10 20:42:26 -0400
committerEvilSeph <evilseph@gmail.com>2012-09-14 01:53:42 -0400
commit4b1f6aff3f2a4a85bea4cca2e92e8164187bfb7a (patch)
tree01103ed4bfb89afc609488e33f3b0c6574f5dc80 /src/main/java/net/minecraft/server/EntityItem.java
parent349cb0bba61c82e1adc6afc32c1ff8efc375c68a (diff)
downloadcraftbukkit-4b1f6aff3f2a4a85bea4cca2e92e8164187bfb7a.tar
craftbukkit-4b1f6aff3f2a4a85bea4cca2e92e8164187bfb7a.tar.gz
craftbukkit-4b1f6aff3f2a4a85bea4cca2e92e8164187bfb7a.tar.lz
craftbukkit-4b1f6aff3f2a4a85bea4cca2e92e8164187bfb7a.tar.xz
craftbukkit-4b1f6aff3f2a4a85bea4cca2e92e8164187bfb7a.zip
[Bleeding] Check visibility API for sounds. Fixes BUKKIT-2210
This implementation of a visibility API check for sounds was created by adding extra methods carrying the source entity in WorldManager and ServerConfigurationManagerAbstract and adding a test for canSee in the SCMA sendPacketNearby method. This approach involves no logic copying, just method addition. I opted to cast to WorldManager as: 1) IWorldAccess is not in CraftBukkit at the moment 2) There is no other IWorldAccess implemented in CraftBukkit, nor is there likely to be one soon. If that day comes, easy fix.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityItem.java')
0 files changed, 0 insertions, 0 deletions