8.0.1 release

This commit is contained in:
Michael Smith 2020-08-23 22:22:43 -07:00
parent 3854b15903
commit 64092457a8
No known key found for this signature in database
GPG Key ID: 41F47A53EDE95BE1
4 changed files with 11 additions and 5 deletions

View File

@ -203,6 +203,9 @@ createWorldDeny=You do not have access to that world
createConflict=Gate conflicts with existing gate createConflict=Gate conflicts with existing gate
``` ```
# Changes # 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 #### [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. - 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. - Adds "verifyPortals" config option, which sets whether an old stargate's blocks are verified when loaded.

View File

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.TheDgtl</groupId> <groupId>org.TheDgtl</groupId>
<artifactId>Stargate</artifactId> <artifactId>Stargate</artifactId>
<version>0.8.0.1-SNAPSHOT</version> <version>0.8.0.1</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>

View File

@ -8,6 +8,7 @@ import java.util.HashMap;
import java.util.HashSet; import java.util.HashSet;
import java.util.Iterator; import java.util.Iterator;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Queue; import java.util.Queue;
import java.util.UUID; import java.util.UUID;
@ -638,7 +639,7 @@ public class Stargate extends JavaPlugin {
@EventHandler @EventHandler
public void onVehicleMove(VehicleMoveEvent event) { public void onVehicleMove(VehicleMoveEvent event) {
if (!handleVehicles) return; if (!handleVehicles) return;
Entity passenger = event.getVehicle().getPassenger(); List<Entity> passengers = event.getVehicle().getPassengers();
Vehicle vehicle = event.getVehicle(); Vehicle vehicle = event.getVehicle();
Portal portal = Portal.getByEntrance(event.getTo()); Portal portal = Portal.getByEntrance(event.getTo());
@ -647,8 +648,9 @@ public class Stargate extends JavaPlugin {
// We don't support vehicles in Bungee portals // We don't support vehicles in Bungee portals
if (portal.isBungee()) return; if (portal.isBungee()) return;
if (passenger instanceof Player) { if (!passengers.isEmpty() && passengers.get(0) instanceof Player) {
Player player = (Player)passenger; /*
Player player = (Player) passengers.get(0);
if (!portal.isOpenFor(player)) { if (!portal.isOpenFor(player)) {
Stargate.sendMessage(player, Stargate.getString("denyMsg")); Stargate.sendMessage(player, Stargate.getString("denyMsg"));
return; return;
@ -712,6 +714,7 @@ public class Stargate extends JavaPlugin {
Stargate.sendMessage(player, Stargate.getString("teleportMsg"), false); Stargate.sendMessage(player, Stargate.getString("teleportMsg"), false);
dest.teleport(vehicle); dest.teleport(vehicle);
portal.close(false); portal.close(false);
*/
} else { } else {
Portal dest = portal.getDestination(); Portal dest = portal.getDestination();
if (dest == null) return; if (dest == null) return;

View File

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