8.0.1 release
This commit is contained in:
parent
3854b15903
commit
64092457a8
@ -203,6 +203,9 @@ createWorldDeny=You do not have access to that world
|
||||
createConflict=Gate conflicts with existing gate
|
||||
```
|
||||
# Changes
|
||||
#### [Version 0.8.0.1] PseudoKnight fork
|
||||
- Fix slab check for portal exits
|
||||
- Improve material checks for gate configuration
|
||||
#### [Version 0.8.0.0] PseudoKnight fork
|
||||
- Update for 1.13/1.14 compatibility. This changes gate layouts to use new material names instead of numeric ids. You need to update your gate layout configs.
|
||||
- Adds "verifyPortals" config option, which sets whether an old stargate's blocks are verified when loaded.
|
||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.TheDgtl</groupId>
|
||||
<artifactId>Stargate</artifactId>
|
||||
<version>0.8.0.1-SNAPSHOT</version>
|
||||
<version>0.8.0.1</version>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
@ -8,6 +8,7 @@ import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Queue;
|
||||
import java.util.UUID;
|
||||
@ -638,7 +639,7 @@ public class Stargate extends JavaPlugin {
|
||||
@EventHandler
|
||||
public void onVehicleMove(VehicleMoveEvent event) {
|
||||
if (!handleVehicles) return;
|
||||
Entity passenger = event.getVehicle().getPassenger();
|
||||
List<Entity> passengers = event.getVehicle().getPassengers();
|
||||
Vehicle vehicle = event.getVehicle();
|
||||
|
||||
Portal portal = Portal.getByEntrance(event.getTo());
|
||||
@ -647,8 +648,9 @@ public class Stargate extends JavaPlugin {
|
||||
// We don't support vehicles in Bungee portals
|
||||
if (portal.isBungee()) return;
|
||||
|
||||
if (passenger instanceof Player) {
|
||||
Player player = (Player)passenger;
|
||||
if (!passengers.isEmpty() && passengers.get(0) instanceof Player) {
|
||||
/*
|
||||
Player player = (Player) passengers.get(0);
|
||||
if (!portal.isOpenFor(player)) {
|
||||
Stargate.sendMessage(player, Stargate.getString("denyMsg"));
|
||||
return;
|
||||
@ -712,6 +714,7 @@ public class Stargate extends JavaPlugin {
|
||||
Stargate.sendMessage(player, Stargate.getString("teleportMsg"), false);
|
||||
dest.teleport(vehicle);
|
||||
portal.close(false);
|
||||
*/
|
||||
} else {
|
||||
Portal dest = portal.getDestination();
|
||||
if (dest == null) return;
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: Stargate
|
||||
main: net.TheDgtl.Stargate.Stargate
|
||||
version: 0.8.0.1-SNAPSHOT
|
||||
version: 0.8.0.1
|
||||
description: Stargate mod for Bukkit
|
||||
author: Drakia
|
||||
website: http://www.thedgtl.net
|
||||
|
Loading…
x
Reference in New Issue
Block a user