Skip to content

Commit 111a302

Browse files
committedApr 26, 2017
Made chat box respect range limits again.
1 parent 6857d18 commit 111a302

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
 

‎build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
minecraft.version=1.7.10
22
forge.version=10.13.4.1448-1.7.10
3-
computronics.version=1.6.3
3+
computronics.version=1.6.4
44

55
ae2.version=rv2-stable-1
66
am.version=0.33.0.85

‎changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
==== 1.6.4 ====
2+
3+
* FIXED: Chat Box not respecting range when listening to messages.
4+
15
==== 1.6.3 ====
26

37
* ADDED: Speech Box! Once again thanks to gamax92 for helping me do this!

‎src/main/java/pl/asie/computronics/tile/TileChatBox.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void receiveChatMessage(ServerChatEvent event) {
8181
if(!worldObj.blockExists(xCoord, yCoord, zCoord)) {
8282
return;
8383
}
84-
if(Config.CHATBOX_MAGIC && !isCreative() && (event.player.worldObj != this.worldObj || event.player.getDistanceSq(xCoord, yCoord, zCoord) > distance * distance)) {
84+
if(!Config.CHATBOX_MAGIC && !isCreative() && (event.player.worldObj != this.worldObj || event.player.getDistanceSq(xCoord, yCoord, zCoord) > distance * distance)) {
8585
return;
8686
}
8787

0 commit comments

Comments
 (0)
Please sign in to comment.