'
This commit is contained in:
parent
5a872f3c86
commit
49120b1f8d
2
README
2
README
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user