Fixed version comparisons when using SPONGEVANILLA (#1455)

Fixes #1452
This commit is contained in:
Geoff Bourne
2022-04-02 15:38:13 -05:00
committed by GitHub
parent 5c0cf11bfe
commit e0b4a819b1
4 changed files with 21 additions and 4 deletions
@@ -0,0 +1,15 @@
version: "3"
services:
mc:
restart: "no"
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
environment:
EULA: "TRUE"
SETUP_ONLY: "TRUE"
TYPE: "SPONGEVANILLA"
SPONGEVERSION: "1.12.2-7.3.1-RC391"
DIFFICULTY: "0"
volumes:
- ./data:/data
@@ -0,0 +1 @@
mc-image-helper assert propertyEquals --file=server.properties --property=difficulty --expect=0