Skip to content
Browse files

Fixed a major problem with waypoints on unloaded chunks exploding.

  • Loading branch information...
1 parent 42da7a1 commit 85aa1d7374d16f8f7693ca856f8db88cb269ed9a @Takmo Takmo committed Sep 5, 2011
Showing with 5 additions and 4 deletions.
  1. +2 −1 README
  2. +3 −3 src/netherlink/minecraft/netherpoints/Waypoint.java
View
3 README
@@ -55,6 +55,7 @@ Everyone at the Cloud Minecraft Server for testing and embracing this plugin
Changelog:
-9/5/11 - Fixed a bug with the key not being given back.
+9/5/11 - Fixed a bug with the key not being given back. Also fixed the problem
+with Waypoints not working on unloaded chunks.
9/1/11 - Major overhaul of the original plugin by TechnoBulldog.
View
6 src/netherlink/minecraft/netherpoints/Waypoint.java
@@ -75,9 +75,9 @@ public void teleport(Player p){
}
public boolean verify(){
- if(b.getTypeId() != 20) // If the block at that location is not glass (20) the verification fails.
- return false;
- return true;
+ if(location.getBlock().getTypeId() == 20) // If the block at that location is not glass (20) the verification fails.
+ return true;
+ return false;
}
/*

0 comments on commit 85aa1d7

Please sign in to comment.
Something went wrong with that request. Please try again.