This commit is contained in:
Steven Scott 2012-04-21 18:35:13 -07:00
parent 5a872f3c86
commit 49120b1f8d
3 changed files with 5 additions and 1 deletions

2
README
View File

@ -205,6 +205,8 @@ createConflict=Gate conflicts with existing gate
=============
Changes
=============
[Version 0.7.6.6]
- Check move/portal/interact/signchange events for cancellation
[Version 0.7.6.5]
- Resolve issue with buttons on glass gates falling off
- /sg reload can now be used ingame (stargate.admin.reload permission)

View File

@ -691,6 +691,7 @@ public class Stargate extends JavaPlugin {
private class pListener implements Listener {
@EventHandler
public void onPlayerPortal(PlayerPortalEvent event) {
if (event.isCancelled()) return;
// Do a quick check for a stargate
Location from = event.getFrom();
if (from == null) {
@ -896,6 +897,7 @@ public class Stargate extends JavaPlugin {
private class bListener implements Listener {
@EventHandler
public void onSignChange(SignChangeEvent event) {
if (event.isCancelled()) return;
Player player = event.getPlayer();
Block block = event.getBlock();
if (block.getType() != Material.WALL_SIGN) return;

View File

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