[Version 0.7.7.4]

- Removed try/catch, it was still segfaulting.
 - Built against 1.3.1
This commit is contained in:
Steven Scott 2012-08-04 12:19:53 -07:00
parent 9928b8718f
commit 9e784c0eaf
3 changed files with 19 additions and 2 deletions

14
README
View File

@ -204,12 +204,26 @@ createFull=This network is full
createWorldDeny=You do not have access to that world createWorldDeny=You do not have access to that world
createConflict=Gate conflicts with existing gate createConflict=Gate conflicts with existing gate
=============
Known Bugs
=============
Client randomly crashes on teleport.
============= =============
Changes Changes
============= =============
[Version 0.7.7.4]
- Removed try/catch, it was still segfaulting.
- Built against 1.3.1
[Version 0.7.7.3]
- Wrap sign changing in try/catch. Stupid Bukkit
[Version 0.7.7.2]
- Load chunk before trying to draw signs
- Implement a workaround for BUKKIT-1033
[Version 0.7.7.1] [Version 0.7.7.1]
- Permission checking for 'R'andom gates. - Permission checking for 'R'andom gates.
- Random now implies AlwaysOn - Random now implies AlwaysOn
- Added all languages to JAR
[Version 0.7.7.0] [Version 0.7.7.0]
- Added 'R'andom option - This still follows the permission rules defined for normal gate usage - Added 'R'andom option - This still follows the permission rules defined for normal gate usage
- Added a bit more debug output - Added a bit more debug output

View File

@ -23,6 +23,7 @@ import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.block.Sign; import org.bukkit.block.Sign;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
@ -669,7 +670,9 @@ public class Portal {
} }
public final void drawSign() { public final void drawSign() {
if (!(id.getBlock().getState() instanceof Sign)) { BlockState bs = null;
bs = id.getBlock().getState();
if (!(bs instanceof Sign)) {
Stargate.log.warning("[Stargate] Sign block is not a Sign object"); Stargate.log.warning("[Stargate] Sign block is not a Sign object");
Stargate.debug("Portal::drawSign", "Block: " + id.getBlock().getType() + " @ " + id.getBlock().getLocation()); Stargate.debug("Portal::drawSign", "Block: " + id.getBlock().getType() + " @ " + id.getBlock().getLocation());
return; return;

View File

@ -1,6 +1,6 @@
name: Stargate name: Stargate
main: net.TheDgtl.Stargate.Stargate main: net.TheDgtl.Stargate.Stargate
version: 0.7.7.1 version: 0.7.7.4
description: Stargate mod for Bukkit description: Stargate mod for Bukkit
author: Drakia author: Drakia
website: http://www.thedgtl.net website: http://www.thedgtl.net